﻿using System;
using System.Diagnostics.CodeAnalysis;

namespace Microsoft.Coding4Fun.TweetCraft
{
    public interface IReportsError
    {
        /// <summary>
        /// Raised when an error occurs.
        /// </summary>
        [SuppressMessage("Microsoft.Naming", "CA1716", Justification = "The Error event is used throughout the .NET framework. See System.IO.FileSystemWatcher.Error as an example.")]
        event EventHandler<ErrorEventArgs> Error;
    }
}
